package Base.InterFaceTest;

public class SubClassTest {
    public static void main(String[] args) {
        final SubClass subClass = new SubClass();

        // subClass.method1()无法被调用
//        subClass.method1();
        subClass.method2();
        subClass.method3();

    }
}

class SubClass implements CompareA{

}
